package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_salary_plan_formula")
@Key(UUID = true)
public class SalaryPlanFormulaDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 工资方案id
     */
    private String salaryPlanId;
    /**
     * 计算公式
     */
    private String formula;
    /**
     * 条件间关系（1、且 ,2、或）
     */
    private Integer conditionRelation;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 公司id
     */
    private String companyId;



}

